package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.Video;
import com.tanhua.domain.vo.PageResult;

public interface VideoApi {
    String save(Video video);

    PageResult videoList(Integer page,Integer pagesize);

    void focus(Long id, Long uid);

    void unFocus(Long id, Long uid);

    PageResult findVideoList(Long uid, int page, int pagesize);

    Video findVideoById(Long videoId);

}
